﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.CodeManage
{
    [Serializable]
   public class GenCodeModel
    {

        public GenCodeModel() { }
        /// <summary>
        /// Id
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 生码批次表主键关联
        /// </summary>
        public int? PatchId { get; set; }


        /// <summary>
        /// 生码批次
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int? Sequence { get; set; }
        /// <summary>
        /// 生成码的类型
        /// </summary>
        public string CodeType { get;set;}

        /// <summary>
        /// 生成码类型文本信息
        /// </summary>
        public string CodeTypeText { get; set; }
        /// <summary>
        /// 产品类型编号
        /// </summary>
        public int? Product_Type_Id { get; set; }
        /// <summary>
        /// 生码数量
        /// </summary>

        public int? Gen_Code_Nums { get; set; }
        /// <summary>
        /// 生码图片
        /// </summary>

        public string Image { get; set; }
        /// <summary>
        /// 查询结果内容
        /// </summary>
        public string Query_Result_Content { get; set; }


        /// <summary>
        /// 电话查询回复
        /// </summary>
        public string Query_Tel_Content { get; set; }


        /// <summary>
        /// 短信查询回复
        /// </summary>

        public string Query_Message_Content { get; set; }
        /// <summary>
        /// 生码状态 0 失败 1 成功
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        ///  公司ID
        /// </summary>
        public int? EnterpriseId { get; set; }

        /// <summary>
        ///  公司编号
        /// </summary>
        public string EnterpriseCode { get; set; }
        /// <summary>
        ///  公司名称
        /// </summary>
        public string EnterpriseName { get; set; }

        /// <summary>
        /// 创建登录ID
        /// </summary>
        public int? CreateLoginID { get; set; }
        /// <summary>
        /// 创建登录名
        /// </summary>
        public string CreateLoginName { get; set; }
        /// <summary>
        /// 创建 时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 修改登录ID
        /// </summary>
        public int? ChangeLoginID { get; set; }


        /// <summary>
        /// 修改登录名
        /// </summary>
        public string ChangeLoginName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ChangeDate { get; set; }

        /// <summary>
        /// 防伪码位数
        /// </summary>
        public int? Anti_Fake_Num { get; set; }
        /// <summary>
        /// 物流码位数
        /// </summary>
        public int? Logistics_Num { get; set; }

        /// <summary>
        /// 码有效期
        /// </summary>
        public DateTime? DisableTime { get; set; }

        /// <summary>
        /// 是否查询 0 表示否 1 是
        /// </summary>
        public int? IsValid { get; set; }

        /// <summary>
        /// 标签图片
        /// </summary>
        public string LabelImage { get; set; }

        /// <summary>
        /// 有效期 1年 2年 3年 无限期 默认3年
        /// </summary>

        public string ExpiryDate { get; set; }
       
        /// <summary>
        /// 产品编号
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 删除状态
        /// </summary>
        public int? ViewDel { get; set; }
 
        /// <summary>
        /// 是否单标 1 是 0否
        /// </summary>
        public int? Dragging { get; set; }

        
        public string Query_Tel_ContentFile { set; get; }
        public string LabelImageFile { get; set; }

        public int? ProductBatchId { get; set; }
        /// <summary>
        /// 激活方式 0 表示立即激活 1 表示出库后生效
        /// </summary>
        public int? ActiveType { get; set; }

        /// <summary>
        /// 横排排版数量
        /// </summary>
        public int RankNum { get; set; }

        /// <summary>
        /// 竖排排版数量
        /// </summary>
        public int VertialNum { get; set; }


        /// <summary>
        /// 机构编码
        /// </summary>
        public string Code { get; set; }
    }
}
